import org.junit.Test;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThat;

public class StringTest {
    StringClass stringClass =new StringClass();
    @Test
  public void test1_should_checkIfvowelsAreMoreThanThirtyPercentOfString()
    {

        assertEquals(true, stringClass.percentageOfVowelsInStringIsMoreThanThirty("his"));
        assertEquals(false, stringClass.percentageOfVowelsInStringIsMoreThanThirty("hisssss"));
    }

     @Test
    public void test2_should_insertMommyInContinuousVowels()
    {
        assertEquals("hmommys", stringClass.returnModifiedString("his"));
        assertEquals("hmommyr", stringClass.returnModifiedString("hear"));
    }
}
